Optimal. Leaf size=417 \[ \frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}-\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}+\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}-\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.50, antiderivative size = 417, normalized size of antiderivative = 1.00, number of steps
used = 15, number of rules used = 12, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {477, 480,
598, 313, 230, 227, 1214, 1213, 435, 504, 1233, 1232} \begin {gather*} -\frac {\sqrt [4]{c} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} (a d+b c) \Pi \left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\text {ArcSin}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} (a d+b c) \Pi \left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\text {ArcSin}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}+\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\text {ArcSin}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}-\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} E\left (\left .\text {ArcSin}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}+\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 227
Rule 230
Rule 313
Rule 435
Rule 477
Rule 480
Rule 504
Rule 598
Rule 1213
Rule 1214
Rule 1232
Rule 1233
Rubi steps
\begin {align*} \int \frac {\sqrt {e x} \sqrt {c-d x^2}}{\left (a-b x^2\right )^2} \, dx &=\frac {2 \text {Subst}\left (\int \frac {x^2 \sqrt {c-\frac {d x^4}{e^2}}}{\left (a-\frac {b x^4}{e^2}\right )^2} \, dx,x,\sqrt {e x}\right )}{e}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}-\frac {\text {Subst}\left (\int \frac {x^2 \left (-c-\frac {d x^4}{e^2}\right )}{\left (a-\frac {b x^4}{e^2}\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a e}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}-\frac {\text {Subst}\left (\int \left (\frac {d x^2}{b \sqrt {c-\frac {d x^4}{e^2}}}-\frac {(b c+a d) x^2}{b \left (a-\frac {b x^4}{e^2}\right ) \sqrt {c-\frac {d x^4}{e^2}}}\right ) \, dx,x,\sqrt {e x}\right )}{2 a e}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}-\frac {d \text {Subst}\left (\int \frac {x^2}{\sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b e}+\frac {(b c+a d) \text {Subst}\left (\int \frac {x^2}{\left (a-\frac {b x^4}{e^2}\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b e}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}+\frac {\left (\sqrt {c} \sqrt {d}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b}-\frac {\left (\sqrt {c} \sqrt {d}\right ) \text {Subst}\left (\int \frac {1+\frac {\sqrt {d} x^2}{\sqrt {c} e}}{\sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b}+\frac {((b c+a d) e) \text {Subst}\left (\int \frac {1}{\left (\sqrt {a} e-\sqrt {b} x^2\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{4 a b^{3/2}}-\frac {((b c+a d) e) \text {Subst}\left (\int \frac {1}{\left (\sqrt {a} e+\sqrt {b} x^2\right ) \sqrt {c-\frac {d x^4}{e^2}}} \, dx,x,\sqrt {e x}\right )}{4 a b^{3/2}}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}+\frac {\left (\sqrt {c} \sqrt {d} \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b \sqrt {c-d x^2}}-\frac {\left (\sqrt {c} \sqrt {d} \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1+\frac {\sqrt {d} x^2}{\sqrt {c} e}}{\sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{2 a b \sqrt {c-d x^2}}+\frac {\left ((b c+a d) e \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\left (\sqrt {a} e-\sqrt {b} x^2\right ) \sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{4 a b^{3/2} \sqrt {c-d x^2}}-\frac {\left ((b c+a d) e \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {1}{\left (\sqrt {a} e+\sqrt {b} x^2\right ) \sqrt {1-\frac {d x^4}{c e^2}}} \, dx,x,\sqrt {e x}\right )}{4 a b^{3/2} \sqrt {c-d x^2}}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}+\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}-\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}-\frac {\left (\sqrt {c} \sqrt {d} \sqrt {1-\frac {d x^2}{c}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {\sqrt {d} x^2}{\sqrt {c} e}}}{\sqrt {1-\frac {\sqrt {d} x^2}{\sqrt {c} e}}} \, dx,x,\sqrt {e x}\right )}{2 a b \sqrt {c-d x^2}}\\ &=\frac {(e x)^{3/2} \sqrt {c-d x^2}}{2 a e \left (a-b x^2\right )}-\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} E\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}+\frac {c^{3/4} \sqrt [4]{d} \sqrt {e} \sqrt {1-\frac {d x^2}{c}} F\left (\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{2 a b \sqrt {c-d x^2}}-\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (-\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}+\frac {\sqrt [4]{c} (b c+a d) \sqrt {e} \sqrt {1-\frac {d x^2}{c}} \Pi \left (\frac {\sqrt {b} \sqrt {c}}{\sqrt {a} \sqrt {d}};\left .\sin ^{-1}\left (\frac {\sqrt [4]{d} \sqrt {e x}}{\sqrt [4]{c} \sqrt {e}}\right )\right |-1\right )}{4 a^{3/2} b^{3/2} \sqrt [4]{d} \sqrt {c-d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 4 in
optimal.
time = 10.11, size = 163, normalized size = 0.39 \begin {gather*} \frac {\sqrt {e x} \left (21 a x \left (-c+d x^2\right )+7 c x \left (-a+b x^2\right ) \sqrt {1-\frac {d x^2}{c}} F_1\left (\frac {3}{4};\frac {1}{2},1;\frac {7}{4};\frac {d x^2}{c},\frac {b x^2}{a}\right )+3 d x^3 \left (-a+b x^2\right ) \sqrt {1-\frac {d x^2}{c}} F_1\left (\frac {7}{4};\frac {1}{2},1;\frac {11}{4};\frac {d x^2}{c},\frac {b x^2}{a}\right )\right )}{42 a^2 \left (-a+b x^2\right ) \sqrt {c-d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(2521\) vs.
\(2(307)=614\).
time = 0.13, size = 2522, normalized size = 6.05
method | result | size |
elliptic | \(\frac {\sqrt {e x}\, \sqrt {\left (-d \,x^{2}+c \right ) e x}\, \left (\frac {x \sqrt {-d e \,x^{3}+c e x}}{2 a \left (-b \,x^{2}+a \right )}+\frac {e c \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticE \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, \frac {\sqrt {2}}{2}\right )}{2 a b \sqrt {-d e \,x^{3}+c e x}}-\frac {e c \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, \frac {\sqrt {2}}{2}\right )}{4 a b \sqrt {-d e \,x^{3}+c e x}}-\frac {e \sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticPi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right )}{8 b^{2} \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}-\frac {e \sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticPi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) c}{8 a b d \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}-\frac {\sqrt {a b}}{b}\right )}-\frac {e \sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticPi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right )}{8 b^{2} \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}-\frac {e \sqrt {c d}\, \sqrt {\frac {d x}{\sqrt {c d}}+1}\, \sqrt {-\frac {2 d x}{\sqrt {c d}}+2}\, \sqrt {-\frac {d x}{\sqrt {c d}}}\, \EllipticPi \left (\sqrt {\frac {\left (x +\frac {\sqrt {c d}}{d}\right ) d}{\sqrt {c d}}}, -\frac {\sqrt {c d}}{d \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}, \frac {\sqrt {2}}{2}\right ) c}{8 a b d \sqrt {-d e \,x^{3}+c e x}\, \left (-\frac {\sqrt {c d}}{d}+\frac {\sqrt {a b}}{b}\right )}\right )}{e x \sqrt {-d \,x^{2}+c}}\) | \(821\) |
default | \(\text {Expression too large to display}\) | \(2522\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {e x} \sqrt {c - d x^{2}}}{\left (- a + b x^{2}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {e\,x}\,\sqrt {c-d\,x^2}}{{\left (a-b\,x^2\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________